<div id="categories">
<h2><? __('CATEGORIES'); ?></h2>
<? 
if(empty($categories)) { ?>
	<? __('CATEGORY_EMPTY'); ?>
<? 
} else {
	?> <ul> <?
	foreach ($categories as $category ): ?>
		<li><? echo $html->link($category['Category']['name'],array('action'=>'view',$category['Category']['seo_link'])); ?>
		(<? __('CATEGORY_ARTICLES'); ?>: <? echo count($category['Article']); ?>)</li>
	<? endforeach;
	?> </ul> <?		
} ?>
</div>